﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Acme.BookStore.RBACIServices
{
    /// <summary>
    /// 用户DTO
    /// </summary>
    public class UserDTO
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        public int UserId { get; set; }
        /// <summary>
        /// 用户昵称
        /// </summary>
        public string UserNickname { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 用户密码
        /// </summary>
        public string UserPassword { get; set; }
        /// <summary>
        /// 用户电话
        /// </summary>
        public string UserPhone { get; set; }
        /// <summary>
        /// 错误次数
        /// </summary>
        public int ErrorCount { get; set; }
        /// <summary>
        /// 是否锁定
        /// </summary>
        public bool IsLocked { get; set; }
        /// <summary>
        /// 角色ID
        /// </summary>
        public int RoleId { get; set; }
        /// <summary>
        /// 角色名
        /// </summary>
        public string RoleName { get; set; }
        /// <summary>
        /// 权限ID
        /// </summary>
        public int PerId { get; set; }
        /// <summary>
        /// 权限名
        /// </summary>
        public string PerName { get; set; }
        /// <summary>
        /// 权限字符
        /// </summary>
        public string PerChar { get; set; }

    }
}
